import request from '@/utils/request'

export function getDirectionandPoints(data) {
  return request({
    url: '/home/qspoint',
    method: 'get',
    params: data
  })
}

export function getDirection(data) {
  return request({
    url: '/home/direction',
    method: 'get',
    params: data
  })
}

export function addPoint(data) {
  return request({
    url: '/home/point',
    method: 'post',
    data: data
  })
}
